.PHONY:debug
debug:tcpserver-debug tcpclient-debug
tcpserver-debug:TcpServer.cpp
	g++ -o tcpserver TcpServer.cpp -std=c++11 -DQIHAI_DEBUG
tcpclient-debug:TcpClient.cpp
	g++ -o tcpclient TcpClient.cpp -std=c++11 -DQIHAI_DEBUG

.PHONY:clean
clean:
	rm -f tcpserver
	rm -f tcpclient
	rm -f tcpserver.log